//
//  StatusNormalCell.swift
//  云Sir的微博
//
//  Created by 赵云 on 15/10/20.
//  Copyright © 2015年 itcast. All rights reserved.
//

import UIKit

class StatusNormalCell: StatusCell {

    override func setUpUI() {
        //如果不重写父类  不显示图片
        super.setUpUI()
        
        //  配图视图
        let cons = pictureView.ff_AlignVertical(type: ff_AlignType.BottomLeft, referView: contentLabel, size: CGSize(width: 290, height: 290), offset: CGPoint(x: 0, y: statusCellControlMargin))
        pictureWidthCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Width)
        pictureHeightCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Height)
        pictureTopCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Top)
    }

}
